<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/jsp/commons/taglibs.jsp"%>
<!DOCTYPE html >
<html>
<head>
</head>
<body>

	<table width="100%" border="0" cellspacing="0" cellpadding="0"
		class="tab">
		<tr>
		    <th>选择</th>
			<th>序号</th>
			<th>报修日期</th>
			<th>客户名称</th>
			<th>报修联系人</th>
			<th>报修联系电话</th>
			<th>故障原因</th>
			<th>路线</th>
			<th>维修技术员</th>
			<th>维修技术员联系方式</th>
		</tr>
		<c:forEach items="${resultDto.result}" var="result" varStatus="sn">
			<tr>
			    <td><input type="radio" projectname="${result.name}" projectid="${result.projectId}" name="selectDiaptch"/></td>
				<td>${sn.index+1 }</td>
				<td><fmt:formatDate value="${result.repairDate}"
						pattern="yyyy年MM月dd日" />
				 </td>
				<td title="${result.customerName}">${result.customerName}</td>
				<td title="${result.repairpeopleName}">${result.repairpeopleName}</td>
				<td title="${result.repairPeoplePhone}">${result.repairPeoplePhone}</td>
				<td title="${result.cause}">${result.cause}</td>
				<td title="">
				<c:forEach items="${lstPath }" var="path">
				<c:if test="${path.value eq result.pathId }">
				${path.name}
				</c:if>
				</c:forEach>
				</td>
				<td title="${result.maintenanceManName}">
				${result.maintenanceManName}</td>
				<td title="${result.maintenanceManPhone}">${result.maintenanceManPhone}</td>
			</tr>
		</c:forEach>



	</table>
	<!--分页 begin-->
	<div class="pageleft">共有${resultDto.pagination.total}条数据，当前第${resultDto.pagination.index+1}页</div>
	<%-- 	<div class="pageleft">
		共有${resultDto.pagination.total }条数据，当前第<span id="pageCodeId"></span>页
	</div> --%>
	<s:if test="resultDto.result!=null && resultDto.result.size()>0">
		<div class="pagenum">
			<a href="#" id="topPage"
				onclick="queryPage('${ctx}/syspara/sysparaAction!initSyspara.action',0);">首页</a>
			<span id="Paginationa"></span> <a href="#" id="endPage"
				onclick="queryPage('${ctx}/syspara/sysparaAction!initSyspara.action','${totalPage-1 }');">尾页</a>
		</div>
		<input type="hidden" id="totalRow"
			value="${resultDto.pagination.total }" />
		<input type="hidden" id="totalPage" value="${totalPage }" />
		<div class="clear"></div>
	</s:if>
</body>
 
</html>
